<div>
    <div class="row-content am-cf">
        <div class="row">
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                <div class="widget am-cf">
                    <div class="widget-head am-cf">
                        <div class="widget-title am-fl">阅读笔记管理</div>
                        <div class="widget-function am-fr">
                            <!--<a href="javascript:;" class="am-icon-cog"></a>-->
                        </div>
                    </div>
                    <div class="am-g">
                        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
                        <div class="am-form-group">
                            <div class="am-btn-toolbar">
                                <div class="am-btn-group am-btn-group-xs">
                                </div>
                            </div>
                        </div>
                    </div>


                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-2">
                        <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                            <input type="text" class="am-form-field " placeholder="请输入书名" title="请输入书名" ng-model="filter.name">
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-2">
                        <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                            <input type="text" class="am-form-field " placeholder="请输入作者名称" title="请输入作者名称" ng-model="filter.author">
                            <span class="am-input-group-btn">
                                <button class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search" type="button" ng-click="search()"></button>
                            </span>
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-2">
                        <button type="button" class="am-btn am-btn-sm am-btn-primary tpl-btn-bg-color-success " ng-click="addNote(null,1)"><i class="am-icon-plus"></i> 添加阅读笔记</button>
                    </div>
                    <div class="widget-body  widget-body-lg am-fr">
                        <div class="row am-cf">
                            <div class="am-u-sm-12 am-u-md-4" ng-repeat="item in bookNoteData">
                                <div class="widget am-cf">
                                    <div class="widget-head am-cf">
                                        <div class="widget-title am-fl">{{item.title}}</div>
                                        <div class="widget-title am-fr">
                                            <i class="am-icon-calendar"></i>
                                            <!--{{item.cTime}}-->
                                            {{item.cTime | date:'yyyy-MM-dd HH:mm:ss'}}
                                        </div>
                                    </div>
                                    <div class="widget-body-md widget-body tpl-amendment-echarts am-fr">
                                        {{item.content}}
                                    </div>
                                    <div style="text-align:right;padding:2px;">
                                        <a href="javascript:;" class="am-icon-info" ng-click="addNote(item,3)"></a>&nbsp;&nbsp;&nbsp;
                                        <a href="javascript:;" class="am-icon-pencil" ng-click="addNote(item,2)"></a>&nbsp;&nbsp;&nbsp;
                                        <a href="javascript:;" class="am-icon-trash" ng-click="deleteNote(item)"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                <div ng-if="params.length" class="ng-table-counts btn-group pull-right col-md-6 ng-scope">
                    <div class="pull-right ng-binding" style="padding:0px; line-height:32px; font-size: 14px;color: white;">
                        共 {{page.allCount}} 条记录
                        &nbsp;&nbsp;
                        每页行数：
                        <button ng-repeat="count in params" type="button" ng-class="{'active':count.select == true}" ng-click="countChanged(count)" class="btn btn-default ng-scope">
                            <span  class="ng-binding">{{count.num}}</span>
                        </button>
                    </div>
                </div>
                <div class="ng-table-counts btn-group pull-left col-md-6">
                    <ul ng-if="page.NumOfPage" class="pagination ng-table-pagination ng-scope">
                    <li ng-class="{true:'active',false:'disabled'}[page.nowPage>1]"   class="ng-scope disabled">
                    <a  ng-click="pageChanged(1)" href="" class="ng-scope">«</a>
                </li>
                 <li>
                    <a class="ng-scope">
                        <span  class="ng-binding">
                            {{page.nowPage}}
                        </span>
                    </a>
                </li>
                 <li ng-class="{true:'active',false:'disabled'}[page.nowPage<page.NumOfPage]"   class="ng-scope">
                    <a  ng-click="pageChanged(2)" href="" class="ng-scope">»</a>
                </li>
                        <div class="pull-right ng-binding" style="padding:0px; line-height:32px; font-size: 14px;color: white;">
                            &nbsp;&nbsp;共{{page.NumOfPage}}页
                        </div>
                </ul>
                </div>
            </div>
        </div>
    </div>
</div>
